Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Constants and Data Types


Applet Locator Status Values

When the JMNewAppletLocator function has retrieved an HTML document, it passes a status value to the MyFetchCompleted callback function. These status values are specified by the JMLocatorErrors type.

enum JMLocatorErrors {
   eLocatorNoErr = 0,
   eHostNotFound,
   eFileNotFound,
   eLocatorTimeout,
   eLocatorKilled
   };
Constant descriptions

eLocatorNoErr
The HTML text was retrieved successfully.
eHostNotFound
The host specified by the URL was not found.
eFileNotFound
The HTML file was not found on the host.
eLocatorTimeout
A timeout occurred while waiting for the HTML text.
eLocatorKilled
The JMDisposeAppletLocator function was called before the text could be retrieved.
See the description of the application-defined function MyFetchCompleted for more information about using these values.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997